import { createApp } from 'vue';

// 导入 element-plus 模块
import ElementPlus from 'element-plus' ;
// 导入 element-plus 样式
import 'element-plus/dist/index.css'

// import router from '@/routes/index.js';
import router from '@/routes';

import App from './App.vue' ;

const app = createApp(App);

// 启用 element-plus
app.use( ElementPlus );

// 启用路由
app.use( router );

app.mount('#app');
